<?
	$sql = $mysqlclass->mysql_my_query("SELECT `id` FROM `".$setupdata['table_prefix']."catalog` WHERE `type` LIKE 'del_%' or type LIKE 'cor_%'");
	if (mysql_num_rows($sql) > 0){
		while ($row = mysql_fetch_array($sql, MYSQL_ASSOC)){
			$treeclass->treedel($row['id']);
		}
	}
?>